package com.kemai.designmode.observer

/**

 *@description:观察目标
 * @author: zhaoshanshan
 * @date: 2022/10/4 10:42 上午

 */
class MangoAttention: Attentions() {
    override fun notifyObservers() {
        for (i in 0 until observers.size){
            observers[i].update()
        }
    }

    //芒果到货了
    fun perform() {
        notifyObservers()
    }
}